using System;
using FytSoa.Common.Utils;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations;
using SqlSugar;

namespace FytSoa.Application.Car;

/// <summary>
/// 
/// </summary>
public class CarsReserveDto
{
    /// <summary>
    /// 唯一编号
    /// </summary>
    public long Id { get; set; }
    
    /// <summary>
    /// 用户编号
    /// </summary>
    public long UserId { get; set; } = 0;

    /// <summary>
    /// 姓名
    /// </summary>
    public string Name { get; set; }
    
    /// <summary>
    /// 性别
    /// </summary>
    public string Sex { get; set; }

    /// <summary>
    /// 电话
    /// </summary>
    public string Mobile { get; set; }

    /// <summary>
    /// 城市
    /// </summary>
    public string City { get; set; }

    /// <summary>
    /// 区县
    /// </summary>
    public string County { get; set; }

    /// <summary>
    /// 车型
    /// </summary>
    public string CarType { get; set; }

    /// <summary>
    /// 处理状态
    /// </summary>
    [Required]
    public bool Status { get; set; } = false;
    
    /// <summary>
    /// 预约时间
    /// </summary>
    [Required]
    public DateTime ReserveTime { get; set; } = DateTime.Now;

    /// <summary>
    /// 添加时间
    /// </summary>
    [Required]
    public DateTime CreateTime { get; set; }=DateTime.Now;


}